﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013A9 RID: 5033
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeTrialActivityRewardCsReq : IMessage<TakeTrialActivityRewardCsReq>, IMessage, IEquatable<TakeTrialActivityRewardCsReq>, IDeepCloneable<TakeTrialActivityRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003F76 RID: 16246
		// (get) Token: 0x0600E165 RID: 57701 RVA: 0x0025AA0C File Offset: 0x00258C0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeTrialActivityRewardCsReq> Parser
		{
			get
			{
				return TakeTrialActivityRewardCsReq._parser;
			}
		}

		// Token: 0x17003F77 RID: 16247
		// (get) Token: 0x0600E166 RID: 57702 RVA: 0x0025AA13 File Offset: 0x00258C13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeTrialActivityRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F78 RID: 16248
		// (get) Token: 0x0600E167 RID: 57703 RVA: 0x0025AA25 File Offset: 0x00258C25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeTrialActivityRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600E168 RID: 57704 RVA: 0x0025AA2C File Offset: 0x00258C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrialActivityRewardCsReq()
		{
		}

		// Token: 0x0600E169 RID: 57705 RVA: 0x0025AA34 File Offset: 0x00258C34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrialActivityRewardCsReq(TakeTrialActivityRewardCsReq other) : this()
		{
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E16A RID: 57706 RVA: 0x0025AA59 File Offset: 0x00258C59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrialActivityRewardCsReq Clone()
		{
			return new TakeTrialActivityRewardCsReq(this);
		}

		// Token: 0x17003F79 RID: 16249
		// (get) Token: 0x0600E16B RID: 57707 RVA: 0x0025AA61 File Offset: 0x00258C61
		// (set) Token: 0x0600E16C RID: 57708 RVA: 0x0025AA69 File Offset: 0x00258C69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x0600E16D RID: 57709 RVA: 0x0025AA72 File Offset: 0x00258C72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeTrialActivityRewardCsReq);
		}

		// Token: 0x0600E16E RID: 57710 RVA: 0x0025AA80 File Offset: 0x00258C80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeTrialActivityRewardCsReq other)
		{
			return other != null && (other == this || (this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E16F RID: 57711 RVA: 0x0025AAB0 File Offset: 0x00258CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E170 RID: 57712 RVA: 0x0025AAEF File Offset: 0x00258CEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E171 RID: 57713 RVA: 0x0025AAF7 File Offset: 0x00258CF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E172 RID: 57714 RVA: 0x0025AB00 File Offset: 0x00258D00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.StageId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E173 RID: 57715 RVA: 0x0025AB34 File Offset: 0x00258D34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E174 RID: 57716 RVA: 0x0025AB72 File Offset: 0x00258D72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeTrialActivityRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E175 RID: 57717 RVA: 0x0025ABA3 File Offset: 0x00258DA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E176 RID: 57718 RVA: 0x0025ABAC File Offset: 0x00258DAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.StageId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005939 RID: 22841
		private static readonly MessageParser<TakeTrialActivityRewardCsReq> _parser = new MessageParser<TakeTrialActivityRewardCsReq>(() => new TakeTrialActivityRewardCsReq());

		// Token: 0x0400593A RID: 22842
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400593B RID: 22843
		public const int StageIdFieldNumber = 7;

		// Token: 0x0400593C RID: 22844
		private uint stageId_;
	}
}
